view,
input,
scroll-view {
    box-sizing: border-box;
}

button::after {
    border: none;
}

swiper,
scroll-view {
    flex: 1;
    height: 100%;
    overflow: hidden;
}

image {
    width: 100%;
    height: 100%;
    vertical-align: middle;
}

// 两行省略
.ellipsis {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

page {
    font-family: Arial, Helvetica, sans-serif;
}

.app-container {
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 100%;
    background-attachment: fixed;
    min-height: 1000rpx;
}

/* 全局样式或页面样式 */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus,
input:-internal-autofill-selected {
    background: transparent !important;
}

.red {
    color: red !important;
}

::v-deep .uni-picker-container .uni-picker-action.uni-picker-action-confirm {
    visibility: hidden;
    &:after {
        content: 'Confirm';
        color: #0866ff;
        visibility: visible;
    }
}

::v-deep .uni-picker-container .uni-picker-action.uni-picker-action-cancel {
    visibility: hidden;
    &:after {
        content: 'Cancel';
        visibility: visible;
        margin-left: -60rpx;
    }
}

.uni-modal,
.uni-calendar-item--after-checked,
.uni-calendar-item--before-checked {
    background: #fff !important;
    border-radius: 30rpx !important;
}

.uni-modal__btn {
    font-size: 30rpx !important;
}

.uni-modal__btn:active {
    background: none !important;
}

.uni-swiper-dots-horizontal {
    left: auto !important;
    right: 20rpx !important;
    transform: translate(0, 0) !important;
    .uni-swiper-dot {
        border-radius: 0;
        width: 20rpx;
        height: 6rpx;
    }
}

.list-video {
    margin-bottom: 30rpx;
    .panel {
        margin-top: 40rpx;
        padding: 0 40rpx;
        .title {
            display: flex;
            justify-content: space-between;
            .name {
                font-size: 28rpx;
                color: #fff;
            }
            .more {
                font-size: 28rpx;
                color: #677ba5;
            }
        }
        .list {
            display: flex;
            flex-flow: row wrap;
            .item {
                width: 50%;
                position: relative;
                margin-top: 30rpx;
                .icon {
                    text-align: center;
                    position: relative;
                    width: 80%;
                    margin: 0 auto;
                    .img {
                        width: 100%;
                        border-radius: 20rpx;
                    }
                    .num {
                        position: absolute;
                        right: 20rpx;
                        bottom: 20rpx;
                        color: #fff;
                        font-size: 24rpx;
                    }
                }
                .name {
                    color: #fff;
                    font-size: 24rpx;
                    margin-top: 10rpx;
                    text-align: center;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
            }
        }
    }
}

.list-pubilc {
    margin: 30rpx 0;
    .item {
        padding: 0 30rpx;
        margin-bottom: 30rpx;
        display: flex;
        .icon {
            width: 250rpx;
            image {
                width: 200rpx;
                height: 260rpx;
                border-radius: 20rpx;
            }
        }
        .content {
            width: calc(100% - 220rpx);
            color: #fff;
            .title {
                font-size: 28rpx;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            .tips {
                font-size: 24rpx;
                color: #7d7a8d;
                display: -webkit-box;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 2;
                overflow: hidden;
                margin-top: 20rpx;
            }
            .btns {
                width: 200rpx;
                background: rgb(238, 127, 51);
                padding: 14rpx 30rpx;
                margin-top: 40rpx;
                color: #fff;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 26rpx;
                border-radius: 40rpx;
                &:active {
                    opacity: 0.6;
                }
            }
            .grey {
                background: #7d7a8d;
                &:active {
                    opacity: 1;
                }
            }
        }
    }
}

.uni-video-cover-duration {
    display: none !important;
}

.pay-popup {
    background: linear-gradient(to right, rgb(40, 40, 60), rgb(60, 60, 80));
    border-radius: 0.625rem;
    width: calc(100vw - 60rpx);
    height: 400rpx;
    margin: 0 auto;
    padding: 0 40rpx;
    box-sizing: border-box;
    .title {
        display: flex;
        justify-content: center;
        font-size: 32rpx;
        color: #fff;
        font-weight: 600;
        padding-top: 40rpx;
    }
    .content,
    .btns {
        margin-top: 40rpx;
    }
    .btns {
        display: flex;
        justify-content: space-between;
        .item {
            width: calc(50% - 20rpx);
            height: 88rpx;
            background: rgb(238, 127, 51);
            border-radius: 100rpx;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            font-size: 30rpx;
            &:active {
                opacity: 0.6;
            }
            &:first-child {
                background: #666;
            }
        }
    }
}

.wd-input__inner,
.wd-input__value,
.wd-input {
    height: 100% !important;
    display: flex;
    align-items: center;
}

.form-btns {
    background: linear-gradient(45deg, #1877f2, #166fe5);
    border: none;
    height: 100rpx;
    font-size: 32rpx;
    font-weight: 600;
    box-shadow: 0 2rpx 4rpx #1877f24d;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border-radius: 100rpx;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    &:active {
        opacity: 0.6;
    }
}

.option-container {
    position: fixed;
    right: 30rpx;
    top: 30rpx;
    display: flex;
    z-index: 9;
    .item {
        margin-left: 20rpx;
    }
}

.main-container {
    margin-top: 98rpx;
}

.wd-tabs__nav {
    position: relative;
}

.wd-tabs__nav-item,
.wd-tabs__nav {
    height: 100rpx !important;
}

.bottom-container {
    position: fixed;
    bottom: 40rpx;
    left: 30rpx;
    width: calc(100% - 60rpx);
}

.data-view {
    padding: 0 30rpx;
    .title-wrap {
        padding: 30rpx 0;
        display: flex;
        justify-content: space-between;
        .name {
            font-size: 32rpx;
            color: #000;
        }
        .desc {
            color: #646565;
            font-size: 24rpx;
        }
    }
    .app-list {
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;
        .item {
            width: calc(50% - 10rpx);
            height: 140rpx;
            border: solid 1rpx rgb(201, 204, 209);
            border-radius: 20rpx;
            padding: 30rpx 20rpx 30rpx 30rpx;
            box-sizing: border-box;
            margin-top: 20rpx;
            .num {
                font-size: 34rpx;
                font-weight: 600;
            }
            .progress {
                width: calc(100% - 60rpx);
            }
            .content {
                display: flex;
                justify-content: space-between;
                align-items: center;
                .name {
                    font-size: 24rpx;
                    color: #000;
                }
                .icon {
                    image {
                        height: 40rpx;
                    }
                }
            }
        }
    }
}
